package com.xuecheng.swagger.controller;

import com.xuecheng.swagger.domain.Student;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@Api(value = "HelloController api 接口", description = "HelloController api 接口", tags = "HelloController api 接口 tags")
public interface HelloApi {
    @ApiOperation("修改学员信息")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "学院id", required = true, dataType = "String", paramType = "path"),
            @ApiImplicitParam(name = "name", value = "学院名字", required = true, dataType = "String", paramType = "querty")
    })
    Student mofidyStudentBynNum(String id, String name, Student student);

}
